@import 'tailwindcss';
@font-face {
  font-family: 'v16';
  src: url('./font/v16-300.woff2') format('woff2');
  font-weight: 400; /* 等同于normal */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'v16_900';
  src: url('./font/v16-900.woff2') format('woff2');
  font-weight: 700; /* 等同于bold */
  font-style: normal;
  font-display: swap;
}
:root {
  --dark-bg: #001529;
  --dark-color: #ccc;
  --light-bg: #001529;
  --light-color: #ccc;
  box-sizing: border-box;
  user-select: none;
  font-family: 'v16', sans-serif;
}
html,
body,
#app {
  height: 100%;
}
/* 隐藏滚动条 */
.no-scrollbar {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}
.no-scrollbar::-webkit-scrollbar {
  display: none; /* Chrome, Safari, and Opera */
}

/* 防止子元素被列分割 */
.avoid {
  word-break: break-all; /* 允许在单词内换行 */
  break-inside: avoid;
  page-break-inside: avoid; /* 兼容旧版浏览器 */
}

#nprogress .bar {
  background: #364153 !important;
  /* 设置进度条颜色为蓝色 */
}
